<?php

namespace App\Http\Controllers\Pm;

use App\Http\Controllers\Pm\BasePmController;
use Illuminate\Http\Request;

class ProjectController extends BasePmController
{
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * 列表页
     * GET
     */
    public function index()
    {
        dd('index');
    }


    /**
     * 数据保存
     * POST
     */
    public function store(Request $request)
    {
        dd('store');
    }

    /**
     * GET {id}
     * 详情页
     */
    public function show(string $id)
    {
        dd($id);
    }


    /**
     * 更新数据
     * PUT {id}
     */
    public function update(Request $request, string $id)
    {
        dd($request->all(),$id);
    }

    /**
     * 删除
     * DELETE {id}
     */
    public function destroy(string $id)
    {
        dd('destroy');
    }
}
